var new_router = []
const new_menu=localStorage.getItem('Menu')
new_menu.forEach((item) => {
    var title = item.title;
    var path = item.indexPath;
    var children=item.children;
    var temp = {
        path: '/' + path,
        children:children,
        component: () => import(`@/views/child/${path}`),
        meta: { title: title }
    }
    new_router.push(temp);
})
export default new_router

// children: (...)
// icon: (...)
// indexPath: (...)
// title: (...)